package com.heima.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;
import java.util.List;

@RestController
@RequestMapping("/user/api")
public class UserController {
    @GetMapping("/list")
    public List list(){
        return Arrays.asList(1,2,3,4,5,6);
    }
}
